-- card: 26894 from stack: in.2r -- bmap block id: 0 -- flags: 0000 -- background id: 2612 -- name: OSErr -- part 2 (button) -- low flags: 00 -- high flags: A004 -- rect: left=245 top=24 right=52 bottom=347 -- title width / last selected line: 0 -- icon id / first selected line: 0 / 0 -- text alignment: 1 -- font id: 0 -- text size: 12 -- style flags: 0 -- line height: 16 -- part name: try me ----- HyperTalk script ----- on mouseUp if the optionkey is down then edit script of me ask "Type in an error number..." put it into errorCode if errorCode is empty then exit mouseup OSErr "©1988SDrazga",errorCode end mouseUp -- part contents for background part 2 ----- text ----- OSErr -- part contents for background part 3 ----- text ----- This XCMD provides a friendly interface for reporting errors that are returned from other XCMDs & XFCNs. It will display a dialog box with a short explanation of the error code. This XCMD is ©1988 by Steve Drazga and all rights are reserved. It may be used in any non-commercial, shareware, or commercial stacks as long as the following conditions are met: 1) Within the credits of the stack the phrase "Portions ©1988 Steve Drazga' should be included. 2) Send a copy of your finished stack to me at: Steve Drazga AnalytX Box 388 Southampton, PA 18966 If you need custom XCMDs/XFCNs, stacks, or HyperCard training for your organization contact Steve Drazga at AnalytX (215) 464-3733. The only compensation I receive will be seeing my efforts utilitized by others. -- part contents for background part 10 ----- text ----- Syntax: OSErr "©1988SDrazga", The first parameter passed must be the copyright notice (the © symbol is option-g). The second parameter is an integer representing the error code that needs to be reported. -- part contents for background part 13 ----- text ----- 18